package com.travel.recommend.strategyPattern;

import com.travel.recommend.entity.DecayFunctionEntity;
import com.travel.recommend.entity.RecommendParameterEntity;
import com.travel.recommend.entity.SimilarityConfigEntity;
import com.travel.recommend.entity.UserBehaviorWeightEntity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 推荐策略的接口
 */
@Service
public interface RecommendationStrategy {
    // 具体策略方法，让子类具体实现
    List<Integer> recommend(Integer userId);
    // 加载各种所需的推荐算法配置
    void  initAlgorithmConfig();
}
